setSwitchMinWidth

open fun setSwitchMinWidth(pixels: Int)(source)

Set the minimum width of the switch in pixels. The switch's width will be the maximum of this value and its measured width as determined by the switch drawables and text used.

Parameters

pixels

Minimum width of the switch in pixels

See also